/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_company", alias = "a", columns = {
		@Column(name = "company", attrName = "company", label = "编号",isPK = true),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "companyname", attrName = "companyname", label = "外链"),
		@Column(name = "addr", attrName = "addr", label = "权重"),
		@Column(name = "phone", attrName = "phone", label = "类型"),
		@Column(name = "name", attrName = "name", label = "类型"),
		@Column(name = "img", attrName = "img", label = "类型"),
		@Column(name = "goodscode", attrName = "goodscode", label = "类型"),
		
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"),

}, orderBy = "a.create_date DESC")
public class ZtCompany extends DataEntity<ZtCompany> {

	private static final long serialVersionUID = 1L;
	
	private String status;
	private String company;
	private String oldCompany;
	private String companyname;
	private String addr;
	private String phone;
	private String name;
	private String img;
	private String goodscode;
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	
	
	public String getGoodscode() {
		return goodscode;
	}
	public void setGoodscode(String goodscode) {
		this.goodscode = goodscode;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getOldCompany() {
		return oldCompany;
	}
	public void setOldCompany(String oldCompany) {
		this.oldCompany = oldCompany;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getCompanyname() {
		return companyname;
	}
	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonIgnore
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

}